package com.billing.model.entity;

import java.io.Serializable;

/**
 * 功能权限表
 * 
 * @author Administrator
 * 
 */
public class TManagerPermissions implements Serializable{

	

	private int id;
	private String name;// 名称
	private String code;// 编码
	private String url;// 链接
	private int status;// 状态 1：开启 2：关闭
	private int fatherId;//父ID
	private String img;//图片链接
	
	
	private int have=2;//拥有权限  1：拥有  2：没有
	private boolean open=false;//是否头
	private boolean checked=false;//是否选中

	private static final long serialVersionUID = 4504492550232165793L;
	public String getImg() {
		return img;
	}

	public void setImg(String img) {
		this.img = img;
	}

	public boolean isChecked() {
		return checked;
	}

	public void setChecked(boolean checked) {
		this.checked = checked;
	}

	public boolean isOpen() {
		return open;
	}

	public void setOpen(boolean open) {
		this.open = open;
	}

	public int getHave() {
		return have;
	}

	public void setHave(int have) {
		this.have = have;
	}

	public int getFatherId() {
		return fatherId;
	}

	public void setFatherId(int fatherId) {
		this.fatherId = fatherId;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

}
